package com.jy.rhin.model.body.xinshenger;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class JianHuR {

    //监护人代码
    //监护人名称
    @XPath(path = "/code" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE09_00_054_00))
    CodeObject codeObject;

    //监护人电话
    @XPath(path = "/telecom/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_010_00))
    String jianHuRDH;

    //监护人姓名
    @XPath(path = "/guardianPerson/name/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_039_00))
    String jianHuRXM;


    //监护人出生日期
    @XPath(path = "/guardianPerson/birthTime/@value", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_005_01))
    String jianHuRCSRQ;

    //职业类别代码
    @XPath(path = "/guardianPerson/occupation/occupationCode", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_052_00))
    CodeObject jianHuRZY;
}
